home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
game
/
shoot
/
ADoomPPC_src.lha
/
ADoomPPC_src
/
amiga_timer.s
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2000-02-18
|
356 b
|
23 lines
.section ".text"
.globl ppctimer
.type ppctimer,@function
.globl _ppctimer
.type _ppctimer,@function
# return the timebase registers in the structure passed in
.align 4
ppctimer:
_ppctimer: mftbu r4
mftbl r5
mftbu r6
cmpw r4,r6
bne- ppctimer
stw r4,0(r3)
stw r5,4(r3)
blr
.ppctimer_end:
.size ppctimer,.ppctimer_end-ppctimer